Skip to content

xplat/js/react-native-github/packages/react-native/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm (#57833) - #57833

Closed
meta-codesync[bot] wants to merge 1 commit into
mainfrom
export-D114840928
Closed

xplat/js/react-native-github/packages/react-native/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm (#57833)#57833
meta-codesync[bot] wants to merge 1 commit into
mainfrom
export-D114840928

Conversation

@meta-codesync

@meta-codesync meta-codesync Bot commented Aug 5, 2026

Copy link
Copy Markdown

Summary:

...Actions taken:

  1. Ran build_codegen_spec to generate the FBReactNativeSpec protocol and located/read the NativePushNotificationManagerIOSSpec protocol.
  2. Ran apply_cast_mod, which mechanically converted all clean methods and flagged two type-mismatch methods.
  3. Hand-reconciled cancelLocalNotifications: and removeDeliveredNotifications: by moving to the spec's exact parameter types and restoring the implicit RCTConvert coercion in the body.
  4. Ran buck_build_verify (BUILD SUCCEEDED) and Lint (no lints). Verified no RCT_EXPORT_METHOD/RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD macros remain.

  • Do NOT post in the CodemodService Feedback group about this specific diff.
  • If you have feedback, comment on the diff and use an appropriate diff action.

This diff was created with CodemodService.

Reviewed By: cortinico, christophpurrer

Differential Revision: D114840928

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 5, 2026

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync meta-codesync Bot changed the title xplat/js/react-native-github/packages/react-native/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm xplat/js/react-native-github/packages/react-native/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm (#57833) Aug 8, 2026
meta-codesync Bot pushed a commit that referenced this pull request Aug 8, 2026
…ficationIOS/RCTPushNotificationManager.mm (#57833)

Summary:

...Actions taken:
1. Ran build_codegen_spec to generate the FBReactNativeSpec protocol and located/read the `NativePushNotificationManagerIOSSpec` protocol.
2. Ran apply_cast_mod, which mechanically converted all clean methods and flagged two `type-mismatch` methods.
3. Hand-reconciled `cancelLocalNotifications:` and `removeDeliveredNotifications:` by moving to the spec's exact parameter types and restoring the implicit `RCTConvert` coercion in the body.
4. Ran buck_build_verify (BUILD SUCCEEDED) and Lint (no lints). Verified no `RCT_EXPORT_METHOD`/`RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD` macros remain.
</summary>
</invoke>





_____


* Do **NOT** post in the CodemodService Feedback group about this specific diff.
* If you have feedback, comment on the diff and use an appropriate diff action.

This [diff was created](https://www.internalfb.com/intern/sandcastle/job/18014401344983091/) with [CodemodService](https://www.internalfb.com/codemod_service/CodemodConfigDevmateDropRctExportMethod).

Reviewed By: cortinico, christophpurrer

Differential Revision: D114840928
@meta-codesync
meta-codesync Bot force-pushed the export-D114840928 branch from d6a093e to 6a20b19 Compare August 8, 2026 22:54
…ficationIOS/RCTPushNotificationManager.mm (#57833)

Summary:

...Actions taken:
1. Ran build_codegen_spec to generate the FBReactNativeSpec protocol and located/read the `NativePushNotificationManagerIOSSpec` protocol.
2. Ran apply_cast_mod, which mechanically converted all clean methods and flagged two `type-mismatch` methods.
3. Hand-reconciled `cancelLocalNotifications:` and `removeDeliveredNotifications:` by moving to the spec's exact parameter types and restoring the implicit `RCTConvert` coercion in the body.
4. Ran buck_build_verify (BUILD SUCCEEDED) and Lint (no lints). Verified no `RCT_EXPORT_METHOD`/`RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD` macros remain.
</summary>
</invoke>





_____


* Do **NOT** post in the CodemodService Feedback group about this specific diff.
* If you have feedback, comment on the diff and use an appropriate diff action.

This [diff was created](https://www.internalfb.com/intern/sandcastle/job/18014401344983091/) with [CodemodService](https://www.internalfb.com/codemod_service/CodemodConfigDevmateDropRctExportMethod).

Reviewed By: cortinico, christophpurrer

Differential Revision: D114840928
@meta-codesync
meta-codesync Bot force-pushed the export-D114840928 branch from 6a20b19 to 0b7edd5 Compare August 8, 2026 22:57
@meta-codesync meta-codesync Bot closed this in db662ca Aug 9, 2026
@meta-codesync

meta-codesync Bot commented Aug 9, 2026

Copy link
Copy Markdown
Author

This pull request has been merged in db662ca.

@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant